package com.github.thinwonton.spring.source.analysis;

import org.springframework.beans.factory.annotation.Autowired;

public class User {

    private Car car;

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setCar(Car car) {
        this.car = car;
    }

    @Override
    public String toString() {
        return "User{" +
                "car=" + car +
                ", name='" + name + '\'' +
                '}';
    }
}
